<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>配置修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: 宋体;
	font-size: 12px;
	color: #666666;
}
td{ margin-left:10px;  height:25px; float:left; }
li{ margin:0px;; height:15px; padding-top:10px;}
.STYLE2 {
	color: #FF0000;
	font-size: 14px;
}

-->
</style>
<base target="_self" />
<body style="text-align:left">
<form name="hg" method="post" action="natdispos.php">
<input type="hidden" name="action" value="<?=$action?>" />	
<input type="hidden" name="rid" value="<?=$rid?>" />
<div style=" height:25px; background:#EAEAEA; padding-left:10px; padding-top:5px; text-align:left;color:#FF9900; font-weight:bold; font-size:14px;">--NAT参数配置-- </div>
<div style="margin-left:8px; height:15px; padding:5px 0px 3px 1px;width:95%; margin-top:10PX; color:#009999; background:#A4E1F9; float:left; font-weight:bold; ">　NAT列表<span class="STYLE2" style="margin-left:300PX;"><img src="images/039.gif" width="11" height="11" /> 提示信息:以下配置请谨慎修改！</span></div>

<div style="margin-left:8px; padding:5px 0px 0px 0px;width:95%; color:#009999; border:#A4E1F9 solid 1px; float:left; font-weight:bold; padding-bottom:5px;">
<div>
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" >
	
		<tr>
			<td width="24%" height="34" align="right" bgcolor="#F3F3F3">目标ip　</td>
		  <td width="76%">　
		    <input type="text" name="toip"style="border: #999999 solid 1px;" size="30" value="<?=$riddb[toip]?>"/>
		  <font color="red"> (必填)</font></td>
		</tr>
		<tr>
			<td height="30" align="right" bgcolor="#F3F3F3">目标端口　</td>
			<td>　
			  <input type="text" name="toport" size="30"style="border: #999999 solid 1px;" value="<?=$riddb[toport]?>"/>
		  <font color="red">(必填)</font></td>
		</tr>
		<tr>
		  <td align="right" bgcolor="#F3F3F3"><strong>设置允许的IP范围:　</strong></td>
		  <td>　
	      <textarea name="ipscope" style="border: #999999 solid 1px; width:400px;" cols="60" rows="8"><?=$riddb[ipscope]?></textarea></td>
	    </tr>
		<tr>
		  <td align="right" bgcolor="#F3F3F3">　<strong>设置NAT定向规则:　</strong></td>
		  <td>　
	      <textarea name="regscope" style="border: #999999 solid 1px; width:400px;" cols="60" rows="8"><?=$riddb[iprule]?></textarea></td>
	    </tr>
	</table>	
</div>
<div align="center" style=" padding:5px; >
			 <div align="center">
			   　
			   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" type="submit"  name="<?=$action?>submit" value="提 交" />
			   
			   <input style="background:#FCE898; border:#CCCCCC solid 1px; width:60px; padding-top:5px;" name="reset" type="reset" value="重置" />
			   
               </div>
	</div>
  </form>
</div>
</body>
</html>
